package com.fanjia.crm.service;

import com.fanjia.crm.model.PageResult;
import com.fanjia.crm.model.User;

/**
 * Created by FanJia on 2020/9/17 10:34
 */
public interface IUserService {

    public User findByUsername(String username);

    public PageResult<User> findPageResult(User user, int page, int limit);

    public void save(User user, Integer[] roleIds);

    public User findUserAndRoleByUserId(Integer userId);
}
